package com.zzyang.c2c.social.govern.reward.dao.impl;

import com.zzyang.c2c.social.govern.reward.damain.RewardCoin;
import com.zzyang.c2c.social.govern.reward.dao.RewardCoinDAO;
import com.zzyang.c2c.social.govern.reward.mapper.RewardCoinMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * TODO
 *
 * @author zhuoziyang
 * @date 2021/7/29 7:50
 */
@Repository
public class RewardCoinDAOImpl implements RewardCoinDAO {

    @Autowired
    private RewardCoinMapper rewardCoinMapper;

    @Override
    public void add(RewardCoin rewardCoin) {
        rewardCoinMapper.insert(rewardCoin);
    }

}
